package com.mangguo.tingjian.content.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 热词搜索表
 * </p>
 *
 * @author auto
 * @since 2019-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DwSearchWord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备编码
     */
    private String imei;

    /**
     * 搜索词
     */
    @TableField("searchWords")
    private String searchWords;

    /**
     * 操作时间
     */
    @TableField("mTime")
    private LocalDateTime mTime;

    /**
     * 操作时间日期，格式 yyyyMMdd
     */
    @TableField("mDate")
    private Integer mDate;

    /**
     * 操作小时
     */
    @TableField("mHour")
    private Integer mHour;


}
